package com.xuxin.oauth2.credentials.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuxin.oauth2.credentials.entity.Permission;
import com.xuxin.oauth2.credentials.entity.User;

import java.util.List;

/**
 * @Author: Gosin
 * @Date: 2020/6/1 21:24
 */
public interface IUserService extends IService<User> {

    List<Permission> queryUserAuthorities(Integer userId);

    User queryUserByUsername(String username);

}
